[IA64] define VHPT_ENABLED in Rules.mk instead of the header file, vhpt.h.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 7 May 2008 08:15:32 +0000 (17:15 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 7 May 2008 08:15:32 +0000 (17:15 +0900)
commitd107882af2906356cabfc173c95678ca256c39aa
treebcd5b9042cc4eed24b99792117b5e3731173d6da
parentfb7e9323a54a3258f2a1ce830d8d7f0402fbc999
[IA64] define VHPT_ENABLED in Rules.mk instead of the header file, vhpt.h.

VHPT_ENABLED is defined in vhpt.h, but it is intended for compile time
option. Defining in the header file caused that VHPT_ENABLED
is undefined in some files resulting in unintentional compilation.
Define the macro in Rules.mk resolves it. And minor modifications to
remove compilation error/warning.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/Rules.mk
xen/arch/ia64/asm-offsets.c
xen/arch/ia64/xen/domain.c
xen/include/asm-ia64/vhpt.h